.class public Lcom/brixd/niceapp/activity/NiceAppSettingActivity;
.super Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;
.source "NiceAppSettingActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingAdapter;,
        Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;
    }
.end annotation


# instance fields
.field private mContext:Landroid/content/Context;

.field private mLogout:Landroid/view/View;

.field private mSettingItems:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;",
            ">;"
        }
    .end annotation
.end field

.field private mSettingListView:Landroid/widget/ListView;


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 36
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;-><init>()V

    .line 296
    return-void
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppSettingActivity;

    .prologue
    .line 36
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$200(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;)Ljava/util/ArrayList;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/NiceAppSettingActivity;

    .prologue
    .line 36
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingItems:Ljava/util/ArrayList;

    return-object v0
.end method

.method private getPushSettingItem()Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;
    .registers 5

    .prologue
    const v3, 0x7f02020f

    .line 157
    new-instance v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;Lcom/brixd/niceapp/activity/NiceAppSettingActivity$1;)V

    .line 158
    .local v1, "pushSettingItem":Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;
    const v2, 0x7f020206

    iput v2, v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->imgResId:I

    .line 159
    const v2, 0x7f0c00c9

    invoke-virtual {p0, v2}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->title:Ljava/lang/String;

    .line 160
    const/4 v2, 0x0

    iput-boolean v2, v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->showArrow:Z

    .line 162
    new-instance v0, Landroid/widget/CheckBox;

    invoke-direct {v0, p0}, Landroid/widget/CheckBox;-><init>(Landroid/content/Context;)V

    .line 163
    .local v0, "checkBox":Landroid/widget/CheckBox;
    invoke-virtual {v0, v3}, Landroid/widget/CheckBox;->setButtonDrawable(I)V

    .line 164
    invoke-virtual {v0, v3}, Landroid/widget/CheckBox;->setBackgroundResource(I)V

    .line 165
    invoke-static {}, Lcom/brixd/niceapp/util/SettingUtils;->isPushEnable()Z

    move-result v2

    invoke-virtual {v0, v2}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 166
    new-instance v2, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$6;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$6;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/CheckBox;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    .line 184
    iput-object v0, v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->customView:Landroid/view/View;

    .line 185
    return-object v1
.end method

.method private getVideoSettingItem()Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;
    .registers 5

    .prologue
    const v3, 0x7f02020f

    .line 189
    new-instance v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;Lcom/brixd/niceapp/activity/NiceAppSettingActivity$1;)V

    .line 190
    .local v1, "videoSettingItem":Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;
    const v2, 0x7f020206

    iput v2, v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->imgResId:I

    .line 191
    const v2, 0x7f0c00ee

    invoke-virtual {p0, v2}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->title:Ljava/lang/String;

    .line 192
    const/4 v2, 0x0

    iput-boolean v2, v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->showArrow:Z

    .line 194
    new-instance v0, Landroid/widget/CheckBox;

    invoke-direct {v0, p0}, Landroid/widget/CheckBox;-><init>(Landroid/content/Context;)V

    .line 195
    .local v0, "checkBox":Landroid/widget/CheckBox;
    invoke-virtual {v0, v3}, Landroid/widget/CheckBox;->setButtonDrawable(I)V

    .line 196
    invoke-virtual {v0, v3}, Landroid/widget/CheckBox;->setBackgroundResource(I)V

    .line 197
    invoke-static {}, Lcom/brixd/niceapp/util/SettingUtils;->isVideoPlayOnlyWifiEnable()Z

    move-result v2

    invoke-virtual {v0, v2}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 198
    new-instance v2, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$7;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$7;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/CheckBox;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    .line 211
    iput-object v0, v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->customView:Landroid/view/View;

    .line 213
    return-object v1
.end method

.method private initData()V
    .registers 10

    .prologue
    const/4 v8, 0x1

    const/4 v7, 0x0

    .line 70
    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    iput-object v6, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingItems:Ljava/util/ArrayList;

    .line 71
    new-instance v0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;

    invoke-direct {v0, p0, v7}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;Lcom/brixd/niceapp/activity/NiceAppSettingActivity$1;)V

    .line 72
    .local v0, "aboutItem":Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;
    new-instance v3, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;

    invoke-direct {v3, p0, v7}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;Lcom/brixd/niceapp/activity/NiceAppSettingActivity$1;)V

    .line 73
    .local v3, "joinUsItem":Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;
    new-instance v4, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;

    invoke-direct {v4, p0, v7}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;Lcom/brixd/niceapp/activity/NiceAppSettingActivity$1;)V

    .line 74
    .local v4, "manageDownloadItem":Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;
    new-instance v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;

    invoke-direct {v1, p0, v7}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;Lcom/brixd/niceapp/activity/NiceAppSettingActivity$1;)V

    .line 75
    .local v1, "feedbackItem":Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;
    new-instance v2, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;

    invoke-direct {v2, p0, v7}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;Lcom/brixd/niceapp/activity/NiceAppSettingActivity$1;)V

    .line 76
    .local v2, "gradeItem":Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;
    new-instance v5, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;

    invoke-direct {v5, p0, v7}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;Lcom/brixd/niceapp/activity/NiceAppSettingActivity$1;)V

    .line 78
    .local v5, "versionItem":Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;
    const v6, 0x7f0201f9

    iput v6, v0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->imgResId:I

    .line 79
    const v6, 0x7f020201

    iput v6, v3, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->imgResId:I

    .line 80
    const v6, 0x7f0201fa

    iput v6, v4, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->imgResId:I

    .line 81
    const v6, 0x7f020200

    iput v6, v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->imgResId:I

    .line 82
    const v6, 0x7f020209

    iput v6, v2, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->imgResId:I

    .line 83
    const v6, 0x7f02020c

    iput v6, v5, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->imgResId:I

    .line 85
    const v6, 0x7f0c0001

    invoke-virtual {p0, v6}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->getString(I)Ljava/lang/String;

    move-result-object v6

    iput-object v6, v0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->title:Ljava/lang/String;

    .line 86
    const v6, 0x7f0c008c

    invoke-virtual {p0, v6}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->getString(I)Ljava/lang/String;

    move-result-object v6

    iput-object v6, v3, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->title:Ljava/lang/String;

    .line 87
    const v6, 0x7f0c009d

    invoke-virtual {p0, v6}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->getString(I)Ljava/lang/String;

    move-result-object v6

    iput-object v6, v4, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->title:Ljava/lang/String;

    .line 88
    const v6, 0x7f0c0002

    invoke-virtual {p0, v6}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->getString(I)Ljava/lang/String;

    move-result-object v6

    iput-object v6, v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->title:Ljava/lang/String;

    .line 89
    const v6, 0x7f0c00e4

    invoke-virtual {p0, v6}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->getString(I)Ljava/lang/String;

    move-result-object v6

    iput-object v6, v2, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->title:Ljava/lang/String;

    .line 90
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    const v7, 0x7f0c0136

    invoke-virtual {p0, v7}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->getString(I)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget-object v7, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mContext:Landroid/content/Context;

    invoke-static {v7}, Lcom/zuiapps/suite/utils/app/AppUtil;->getVersionName(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    iput-object v6, v5, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->title:Ljava/lang/String;

    .line 92
    iput-boolean v8, v0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->showArrow:Z

    .line 93
    iput-boolean v8, v3, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->showArrow:Z

    .line 94
    iput-boolean v8, v4, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->showArrow:Z

    .line 95
    iput-boolean v8, v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->showArrow:Z

    .line 96
    iput-boolean v8, v2, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->showArrow:Z

    .line 97
    const/4 v6, 0x0

    iput-boolean v6, v5, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->showArrow:Z

    .line 99
    new-instance v6, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$1;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$1;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;)V

    iput-object v6, v0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->listener:Landroid/view/View$OnClickListener;

    .line 108
    new-instance v6, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$2;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$2;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;)V

    iput-object v6, v3, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->listener:Landroid/view/View$OnClickListener;

    .line 119
    new-instance v6, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$3;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$3;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;)V

    iput-object v6, v4, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->listener:Landroid/view/View$OnClickListener;

    .line 126
    new-instance v6, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$4;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$4;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;)V

    iput-object v6, v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->listener:Landroid/view/View$OnClickListener;

    .line 135
    new-instance v6, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$5;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$5;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;)V

    iput-object v6, v2, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;->listener:Landroid/view/View$OnClickListener;

    .line 144
    iget-object v6, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingItems:Ljava/util/ArrayList;

    invoke-virtual {v6, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 145
    iget-object v6, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingItems:Ljava/util/ArrayList;

    invoke-virtual {v6, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 146
    iget-object v6, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingItems:Ljava/util/ArrayList;

    invoke-virtual {v6, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 148
    iget-object v6, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingItems:Ljava/util/ArrayList;

    invoke-virtual {v6, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 149
    iget-object v6, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingItems:Ljava/util/ArrayList;

    invoke-virtual {v6, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 150
    iget-object v6, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingItems:Ljava/util/ArrayList;

    invoke-direct {p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->getPushSettingItem()Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 151
    iget-object v6, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingItems:Ljava/util/ArrayList;

    invoke-direct {p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->getVideoSettingItem()Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingItem;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 152
    iget-object v6, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingItems:Ljava/util/ArrayList;

    invoke-virtual {v6, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 154
    return-void
.end method

.method private initWidgets()V
    .registers 4

    .prologue
    const/16 v2, 0x8

    .line 217
    const v1, 0x7f0c00a7

    invoke-virtual {p0, v1}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->setTopTitle(I)V

    .line 218
    const v1, 0x7f0200b0

    invoke-virtual {p0, v1}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->setBackIcon(I)V

    .line 219
    invoke-virtual {p0, v2}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->setCommitBtnVisibility(I)V

    .line 221
    const v1, 0x7f0a0095

    invoke-virtual {p0, v1}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mLogout:Landroid/view/View;

    .line 222
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v1

    if-nez v1, :cond_25

    .line 223
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mLogout:Landroid/view/View;

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    .line 226
    :cond_25
    const v1, 0x7f0a0094

    invoke-virtual {p0, v1}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ListView;

    iput-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingListView:Landroid/widget/ListView;

    .line 228
    new-instance v0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingAdapter;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingItems:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingAdapter;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;Ljava/util/ArrayList;)V

    .line 229
    .local v0, "adapter":Lcom/brixd/niceapp/activity/NiceAppSettingActivity$SettingAdapter;
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingListView:Landroid/widget/ListView;

    invoke-virtual {v1, v0}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 230
    return-void
.end method

.method private initWidgetsActions()V
    .registers 3

    .prologue
    .line 233
    new-instance v0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$8;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$8;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;)V

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->setOnBackClickListener(Landroid/view/View$OnClickListener;)V

    .line 241
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mSettingListView:Landroid/widget/ListView;

    new-instance v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$9;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$9;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 252
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mLogout:Landroid/view/View;

    new-instance v1, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10;-><init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 280
    return-void
.end method

.method public static openAboutBri(Landroid/content/Context;)V
    .registers 4
    .param p0, "context"    # Landroid/content/Context;

    .prologue
    .line 355
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/brixd/niceapp/activity/WebViewActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 356
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "URL"

    const v2, 0x7f0c0039

    invoke-virtual {p0, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 357
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 358
    return-void
.end method

.method public static openAboutZuimei(Landroid/content/Context;)V
    .registers 3
    .param p0, "context"    # Landroid/content/Context;

    .prologue
    .line 350
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/brixd/niceapp/activity/NiceAppAboutUsActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 351
    .local v0, "intent":Landroid/content/Intent;
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 352
    return-void
.end method

.method public static openFeedback(Landroid/content/Context;)V
    .registers 1
    .param p0, "context"    # Landroid/content/Context;

    .prologue
    .line 361
    invoke-static {p0}, Lcom/zuiapps/common/feedback/FeedbackUtils;->startFeedbackActivity(Landroid/content/Context;)V

    .line 362
    return-void
.end method

.method public static openGrade(Landroid/content/Context;)V
    .registers 4
    .param p0, "context"    # Landroid/content/Context;

    .prologue
    .line 365
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 366
    .local v0, "appIntent":Landroid/content/Intent;
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "market://details?id="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {p0}, Lcom/zuiapps/suite/utils/app/AppUtil;->getPackageName(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 367
    const-string v1, "com.wandoujia.phoenix2"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;

    .line 368
    invoke-static {p0, v0}, Lcom/zuiapps/suite/utils/intent/IntentUtil;->isIntentAvailable(Landroid/content/Context;Landroid/content/Intent;)Z

    move-result v1

    if-eqz v1, :cond_34

    .line 369
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 379
    :goto_33
    return-void

    .line 371
    :cond_34
    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;

    .line 372
    invoke-static {p0, v0}, Lcom/zuiapps/suite/utils/intent/IntentUtil;->isIntentAvailable(Landroid/content/Context;Landroid/content/Intent;)Z

    move-result v1

    if-eqz v1, :cond_42

    .line 373
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto :goto_33

    .line 375
    :cond_42
    const v1, 0x7f0c00b5

    const/4 v2, 0x0

    invoke-static {p0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    goto :goto_33
.end method


# virtual methods
.method public finish()V
    .registers 3

    .prologue
    .line 284
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->finish()V

    .line 285
    const/4 v0, 0x0

    const v1, 0x7f040015

    invoke-virtual {p0, v0, v1}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->overridePendingTransition(II)V

    .line 286
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .registers 3
    .param p1, "bundle"    # Landroid/os/Bundle;

    .prologue
    .line 45
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->onCreate(Landroid/os/Bundle;)V

    .line 46
    iput-object p0, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->mContext:Landroid/content/Context;

    .line 47
    const v0, 0x7f03001b

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->setContentView(I)V

    .line 49
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->initData()V

    .line 50
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->initWidgets()V

    .line 51
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->initWidgetsActions()V

    .line 53
    return-void
.end method

.method protected onPause()V
    .registers 2

    .prologue
    .line 64
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->onPause()V

    .line 65
    const-string v0, "NiceAppSettingActivity"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageEnd(Ljava/lang/String;)V

    .line 66
    invoke-static {p0}, Lcom/umeng/analytics/MobclickAgent;->onPause(Landroid/content/Context;)V

    .line 67
    return-void
.end method

.method protected onResume()V
    .registers 2

    .prologue
    .line 57
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->onResume()V

    .line 58
    const-string v0, "NiceAppSettingActivity"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageStart(Ljava/lang/String;)V

    .line 59
    invoke-static {p0}, Lcom/umeng/analytics/MobclickAgent;->onResume(Landroid/content/Context;)V

    .line 60
    return-void
.end method
